package org.zfes.snowier.cloud.zbss.pmp.dto;

import java.io.Serializable;


public class PmpBugsCreateDto implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@javax.validation.constraints.NotNull(message="所属项目不能为空")
	  private java.lang.Long projectId;
	
	  private java.lang.Byte bugFrom;
	  private java.lang.Long fromTaskId;
	  private java.lang.Long fromRequireModuleId;
	  private java.lang.Long fromRequireId;
	  private java.lang.Long fromBugId;
	  
	  
	@javax.validation.constraints.NotBlank(message="bug名称不能为空")
	@javax.validation.constraints.NotNull(message="bug名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="bug名称长度不能大于255")
	  private java.lang.String bugName;
	
	  private java.lang.String bugRemark;
	
	
	
	//@javax.validation.constraints.NotNull(message="指派用户不能为空")
	  private java.lang.Long assignUserId;
	
	// @javax.validation.constraints.NotNull(message="负责人不能为空")
	  private java.lang.Long chargeUserId;
	
	  private java.util.Date expiryTime;
	  
	//@javax.validation.constraints.NotNull(message="评估时间不能为空")
	  private java.lang.Integer assignHours;
	
	
	@javax.validation.constraints.NotNull(message="bug扣分不能为空")
	  private java.lang.Long deduceId;
	
	
	  private java.util.Date assignTime;
	  private java.util.Date modifyTime;


	  @javax.validation.constraints.NotNull(message="难度系数不能为空")
	  private java.lang.Long difficultyScoreId;

	//@javax.validation.constraints.NotNull(message="所属版本不能为空")
	    private java.lang.Long projectVersionId;
	
	@javax.validation.constraints.NotBlank(message="bug详情不能为空")
	@javax.validation.constraints.NotNull(message="bug详情不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="bug详情长度不能大于2,147,483,647")
	  private java.lang.String bugDetail;

	//优先级#1低，2中等，3急，4加急#
	  @javax.validation.constraints.NotNull(message="优先级不能为空")
	  private java.lang.Byte priority;
	  //严重程度#1轻微,2小调整,3中等,4严重交,5非常严重,6宕机#
	  @javax.validation.constraints.NotNull(message="严重程度不能为空")
	  private java.lang.Byte severity;//
	 //出现频率_D#1随机，2总是#	
	  @javax.validation.constraints.NotNull(message="出现频率不能为空")
	  private java.lang.Byte  frequency;//	
	public java.lang.Long getProjectId() {
		return projectId;
	}
	public void setProjectId(java.lang.Long projectId) {
		this.projectId = projectId;
	}
	public java.lang.Byte getBugFrom() {
		return bugFrom;
	}
	public void setBugFrom(java.lang.Byte bugFrom) {
		this.bugFrom = bugFrom;
	}
	public java.lang.Long getFromTaskId() {
		return fromTaskId;
	}
	public void setFromTaskId(java.lang.Long fromTaskId) {
		this.fromTaskId = fromTaskId;
	}
	public java.lang.Long getFromRequireModuleId() {
		return fromRequireModuleId;
	}
	public void setFromRequireModuleId(java.lang.Long fromRequireModuleId) {
		this.fromRequireModuleId = fromRequireModuleId;
	}
	public java.lang.Long getFromRequireId() {
		return fromRequireId;
	}
	public void setFromRequireId(java.lang.Long fromRequireId) {
		this.fromRequireId = fromRequireId;
	}
	public java.lang.Long getFromBugId() {
		return fromBugId;
	}
	public void setFromBugId(java.lang.Long fromBugId) {
		this.fromBugId = fromBugId;
	}
	public java.lang.String getBugName() {
		return bugName;
	}
	public void setBugName(java.lang.String bugName) {
		this.bugName = bugName;
	}
	public java.lang.String getBugRemark() {
		return bugRemark;
	}
	public void setBugRemark(java.lang.String bugRemark) {
		this.bugRemark = bugRemark;
	}
	public java.lang.Long getAssignUserId() {
		return assignUserId;
	}
	public void setAssignUserId(java.lang.Long assignUserId) {
		this.assignUserId = assignUserId;
	}
	public java.lang.Long getChargeUserId() {
		return chargeUserId;
	}
	public void setChargeUserId(java.lang.Long chargeUserId) {
		this.chargeUserId = chargeUserId;
	}
	public java.util.Date getExpiryTime() {
		return expiryTime;
	}
	public void setExpiryTime(java.util.Date expiryTime) {
		this.expiryTime = expiryTime;
	}
	public java.lang.Integer getAssignHours() {
		return assignHours;
	}
	public void setAssignHours(java.lang.Integer assignHours) {
		this.assignHours = assignHours;
	}
	
	public java.lang.Long getDeduceId() {
		return deduceId;
	}
	public void setDeduceId(java.lang.Long deduceId) {
		this.deduceId = deduceId;
	}
	public java.util.Date getAssignTime() {
		return assignTime;
	}
	public void setAssignTime(java.util.Date assignTime) {
		this.assignTime = assignTime;
	}
	public java.util.Date getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(java.util.Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	public java.lang.Long getDifficultyScoreId() {
		return difficultyScoreId;
	}
	public void setDifficultyScoreId(java.lang.Long difficultyScoreId) {
		this.difficultyScoreId = difficultyScoreId;
	}
	public java.lang.Long getProjectVersionId() {
		return projectVersionId;
	}
	public void setProjectVersionId(java.lang.Long projectVersionId) {
		this.projectVersionId = projectVersionId;
	}
	public java.lang.String getBugDetail() {
		return bugDetail;
	}
	public void setBugDetail(java.lang.String bugDetail) {
		this.bugDetail = bugDetail;
	}
	public java.lang.Byte getPriority() {
		return priority;
	}
	public void setPriority(java.lang.Byte priority) {
		this.priority = priority;
	}
	public java.lang.Byte getSeverity() {
		return severity;
	}
	public void setSeverity(java.lang.Byte severity) {
		this.severity = severity;
	}
	public java.lang.Byte getFrequency() {
		return frequency;
	}
	public void setFrequency(java.lang.Byte frequency) {
		this.frequency = frequency;
	}

	
}
